/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ivanbiz.model;

import java.util.Date;

/**
 *
 * @author City_Z
 */
public class Penjualan {

    private long id;
    private String noTransaksi;
    private Item item;
    private int quantity;
    private Date dateTransaksi;
    private Double diskon;
    private String typeTransaksi;//
    private String typeBank;//
    private Double subTotal;
    private String mataUang;
    private String userPenjualan;
    private double hargaJual;
    private double bayar;
    private double total;
    private double kembali;
    private String pembayaran;
    private Date jatuhTempo;
    private MemberCustomer memberCustomer;
    private double DP;

    public double getDP() {
        return DP;
    }

    public void setDP(double DP) {
        this.DP = DP;
    }

    public MemberCustomer getMemberCustomer() {
        return memberCustomer;
    }

    public void setMemberCustomer(MemberCustomer memberCustomer) {
        this.memberCustomer = memberCustomer;
    }

    public Date getJatuhTempo() {
        return jatuhTempo;
    }

    public void setJatuhTempo(Date jatuhTempo) {
        this.jatuhTempo = jatuhTempo;
    }

    public String getPembayaran() {
        return pembayaran;
    }

    public void setPembayaran(String pembayaran) {
        this.pembayaran = pembayaran;
    }

    public double getBayar() {
        return bayar;
    }

    public void setBayar(double bayar) {
        this.bayar = bayar;
    }

    public double getKembali() {
        return kembali;
    }

    public void setKembali(double kembali) {
        this.kembali = kembali;
    }

    public double getTotal() {
        return total;
    }

    public void setTotal(double total) {
        this.total = total;
    }

    public String getUserPenjualan() {
        return userPenjualan;
    }

    public void setUserPenjualan(String userPenjualan) {
        this.userPenjualan = userPenjualan;
    }

    public String getMataUang() {
        return mataUang;
    }

    public void setMataUang(String mataUang) {
        this.mataUang = mataUang;
    }

    public Double getSubTotal() {
        return subTotal;
    }

    public void setSubTotal(Double subTotal) {
        this.subTotal = subTotal;
    }

    public Date getDateTransaksi() {
        return dateTransaksi;
    }

    public void setDateTransaksi(Date dateTransaksi) {
        this.dateTransaksi = dateTransaksi;
    }

    public Double getDiskon() {
        return diskon;
    }

    public void setDiskon(Double diskon) {
        this.diskon = diskon;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public Item getItem() {
        return item;
    }

    public void setItem(Item item) {
        this.item = item;
    }

    public String getNoTransaksi() {
        return noTransaksi;
    }

    public void setNoTransaksi(String noTransaksi) {
        this.noTransaksi = noTransaksi;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public String getTypeBank() {
        return typeBank;
    }

    public void setTypeBank(String typeBank) {
        this.typeBank = typeBank;
    }

    public String getTypeTransaksi() {
        return typeTransaksi;
    }

    public void setTypeTransaksi(String typeTransaksi) {
        this.typeTransaksi = typeTransaksi;
    }

    /**
     * @return the hargaJual
     */
    public double getHargaJual() {
        return hargaJual;
    }

    /**
     * @param hargaJual the hargaJual to set
     */
    public void setHargaJual(double hargaJual) {
        this.hargaJual = hargaJual;
    }
}
